Crate one_two_eight

source ·
Expand description

one_two_eight provides typed 128-bit identifiers. Use generate_id to create a type, and possibly [generate_id_protok] to implement prototk::Message.

Macros

Constants

Functions

  • Turn the “aesthetically better” string back into bytes.
  • Encode 16B of random data in something aesthetically better, like UUID format.
  • Read a new ID from /dev/urandom